<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>添加文章</title>
    <script type="text/javascript" src="__ROOT__/source/ueditor/editor_config.js"></script>
    <script type="text/javascript" src="__ROOT__/source/ueditor/editor_all.js"></script>
</head>
<body>
<form action="" method="POST">
<p>文章标题 : <input type="text" name="title" value="" style="width: 300px;" /> </p>
<p>文章关键字 : <input type="text" name="keywords" value="" style="width: 300px;" /> </p>
<p>文章描述：<br/><textarea name="arinfo" cols="60" rows="5"></textarea></p>
<p>文章状态：<input type="radio" name="state" value="1" checked/> 开启 | <input type="radio" name="state" value="0"/> 关闭 </p>
<p>文章来源：<input type="text" name="source" /> | 文章作者：<input type="text" name="writer" /> </p>
<p>所属栏目：
    <select name="cid">
        <volist name="cates" id="cate">
            <option value="{$cate.id}">{$cate.cname}</option>
        </volist>
    </select>
</p>
<p>发布日期：<input type="text" name="pubdate" value="{$pubdate}" /> </p>
<p>
    文章内容:<br/>
    <!--<textarea name="body" cols="80" rows="15"></textarea>-->
    <textarea name="body" id="myEditor">请填写内容</textarea>
    <script type="text/javascript">
        var editor = new UE.ui.Editor();
        editor.render("myEditor");
        //1.2.4以后可以使用一下代码实例化编辑器
        //UE.getEditor('myEditor')
    </script>
</p>
    <button type="submit">提交</button>
</form>

</body>
</html>